<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>编辑</title>
	 <script charset="utf-8" src="{ly:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="{ly:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/lang/zh_CN.js"></script>
	<script type="text/javascript">
	  KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
	</script>
	<style type="text/css">
*{padding: 0; margin: 0;}
table{ width: 100%;border-top: 1px solid #aaa;border-left: 1px solid #aaa;}
td{ border-bottom: 1px solid #aaa;border-right: 1px solid #aaa;}

	</style>
</head>
<body>
 <form action="" method="post" enctype="multipart/form-data">
  <input type="hidden" name="bid" value="{ly:$filed.bid}">
 	<table cellspacing="0">
 	 <tr>
 	 	<td>标题</td>
 	 	<td>
 	 	  <input type="title" name="title" value="{ly:$filed.title}">
 	 	</td>
 	 </tr>
 	 <tr>
 	 	<td>栏目</td>
 	 	<td>
 	 	
 	 		<select name="cid" id="" >
 	 		{ly:section loop=$categoryDate name=c}
 	 			<option value="{ly:$categoryDate[c].cid}"{ly:$categoryDate[c].selected}>
 	 				{ly:$categoryDate[c].catname}
 	 			</option>
 	 		</select>
 	 	{ly:/section}
 	 	</td>
 	 </tr>
 	 <tr>
 	 	<td>缩略图</td>
 	 	<td>
 	 	   <input type="file" name="thumb">
 	 	   <input type="hidden" name="thumb" value="{ly:$filed.thumb}">
 	 	</td>
 	 </tr>
 		<tr>
 			<td>正文</td>
 			<td><textarea name="content" id="editor_id">{ly:$field.content}</textarea></td>
 		</tr>
 		<tr>
 			<td>点击数</td>
 			<td><input type="title" name="click" value="{ly:$filed.click}"></td>
 		</tr>
 		<tr>
 			<td colspan="2"><input type="submit" value="发表"></td>
 		</tr>
 	</table>
 </form>
</body>
</html>